import request from '@/utils/request'

// 获取办件事项列表
export function getMatterPage(data) {
  return request({
    url: 'admin/matter/index',
    method: 'post',
    data: data
  })
}

// 保存办件事项
export function saveMatter(data) {
  return request({
    url: 'admin/matter/save',
    method: 'post',
    data: data
  })
}

// 修改办件事项
export function updateMatter(data) {
  return request({
    url: 'admin/matter/update',
    method: 'post',
    data: data
  })
}

// 删除办件事项
export function deleteMatter(data) {
  return request({
    url: 'admin/matter/delete',
    method: 'post',
    data: data
  })
}
